Randomized Paging Algorithms and Measures for their Performance
نویسندگان
چکیده
We study three raLdomized paging algorithms, using two different measures for their per formances. One of the measures is the competitive ratio which was introduced by Sleator and Tarjan [ST8S]. Although it is well-motivated, Ben-David and Borodin [BDB] have recently demonstrated some counter-intuitive features of this measure (concerning the roles of memory and finite look&head i'l online algorithms), and have suggested an alternative measure based on the worst-case amortized cost, which is the second measure we use. We show a lower bound of this measure for paging algorithms and present an algorithm which achieves this bound. Since this algorithm IS not even competitive, it may serve as an extreme evidence to the inherent dif ferences between the two measures. Two other algorithms studied here are the known marking algorithm, which was introduced by Fiat et al. [FKL+88] and was proved to be 2Hk-competitive (against an oblivious adversary, which is the one considered in this work), and the algorithm RANDOM which was introduced by Raghavan and Snir, and was proved to be k-competitive. We show that although the marking algorithm has a better competitive ratio, RANDOM has a better worst-case amortized cost (at least for the two cases analyzed in this work). Two related aspects considered here are the memory size of the algorithms and the number of random bits they use.
منابع مشابه
On Randomization in On-Line Computation
This paper concerns two fundamental but somewhat neglected issues, both related to the design and analysis of randomized on-line algorithms. Motivated by early results in game theory we define several types of randomized on-line algorithms, discuss known conditions for their equivalence, and give a natural example distinguishing between two kinds of randomizations. In particular, we show that m...
متن کاملOn Certain New Models for Paging with Locality of Reference
The competitive ratio is the most common metric in online algorithm analysis. Unfortunately, it produces pessimistic measures and often fails to distinguish between paging algorithms that have vastly differing performance in practice. An apparent reason for this is that the model does not take into account the locality of reference evidenced by actual input sequences. Therefore many alternative...
متن کاملOnline paging for flash memory devices
We propose a variation of online paging in two-level memory systems where pages in the fast cache get modified and therefore have to be explicitly written back to the slow memory upon evictions. For increased performance, up to α arbitrary pages can be moved from the cache to the slow memory within a single joint eviction, whereas fetching pages from the slow memory is still performed on a one-...
متن کاملCompetitive Paging Algorithms AMOS FIAT
The paging problem is that of deciding which pages to keep in a memory of k pages in order to minimize the number of page faults. We develop the marking algorithm, a randomized on-line algorithm for the paging problem. We prove that its expected cost on any sequence of requests is within a factor of 2Hk of optimum. (Where Hk is the kth harmonic number, which is roughly Ink.) The best such facto...
متن کاملAlternative Measures for the Analysis of Online Algorithms
In this thesis we introduce and evaluate several new models for the analysis of online algorithms. In an online problem, the algorithm does not know the entire input from the beginning; the input is revealed in a sequence of steps. At each step the algorithm should make its decisions based on the past and without any knowledge about the future. Many important real-life problems such as paging a...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2015